﻿using FrameworkCore.Extensions;
using System.Text.Json.Serialization;

namespace AiBLSmartEdu.Module.SmartStockSense.API.DTOs;

public class MATechnicalIndicatorDto
{
    /// <summary>
    /// 时间戳
    /// </summary>
    [JsonPropertyName("t")]
    [JsonConverter(typeof(CustomDateTimeConverter))]
    public DateTime? T { get; set; }

    /// <summary>
    /// Ma3值
    /// </summary>
    [JsonPropertyName("ma3")]
    public decimal? Ma3 { get; set; }

    /// <summary>
    /// Ma5值
    /// </summary>
    [JsonPropertyName("ma5")]
    public decimal? Ma5 { get; set; }

    /// <summary>
    /// Ma10值
    /// </summary>
    [JsonPropertyName("ma10")]
    public decimal? Ma10 { get; set; }

    /// <summary>
    /// Ma15值
    /// </summary>
    [JsonPropertyName("ma15")]
    public decimal? Ma15 { get; set; }

    /// <summary>
    /// Ma20值
    /// </summary>
    [JsonPropertyName("ma20")]
    public decimal? Ma20 { get; set; }

    /// <summary>
    /// Ma30值
    /// </summary>
    [JsonPropertyName("ma30")]
    public decimal? Ma30 { get; set; }

    /// <summary>
    /// Ma60值
    /// </summary>
    [JsonPropertyName("ma60")]
    public decimal? Ma60 { get; set; }

    /// <summary>
    /// Ma210值
    /// </summary>
    [JsonPropertyName("ma120")]
    public decimal? Ma120 { get; set; }

    /// <summary>
    /// Ma200值
    /// </summary>
    [JsonPropertyName("ma200")]
    public decimal? Ma200 { get; set; }

    /// <summary>
    /// Ma250值
    /// </summary>
    [JsonPropertyName("ma250")]
    public decimal? Ma250 { get; set; }
}
